package de.gruessing.gwtsports.shared.mappeddata.tcdata;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.IsSerializable;

public class ActivityLapDTO extends LapDTO implements IsSerializable
{  
  protected Double maximumSpeed;
  protected int calories;
  protected TriggerMethodDTO triggerMethod;
  protected ArrayList<TrackDTO> track;
  protected String notes;
  protected String startTime;
  
  public ActivityLapDTO() 
  {
  	
  }
  
  public Double getMaximumSpeed() {
      return maximumSpeed;
  }

  public void setMaximumSpeed(Double value) {
      this.maximumSpeed = value;
  }

  public int getCalories() {
      return calories;
  }

  public void setCalories(int value) {
      this.calories = value;
  }

  public TriggerMethodDTO getTriggerMethod() {
      return triggerMethod;
  }

  public void setTriggerMethod(TriggerMethodDTO value) {
      this.triggerMethod = value;
  }

  public ArrayList<TrackDTO> getTrack() {
      if (track == null) {
          track = new ArrayList<TrackDTO>();
      }
      return this.track;
  }

  public String getNotes() {
      return notes;
  }

  public void setNotes(String value) {
      this.notes = value;
  }

  public String getStartTime() {
      return startTime;
  }

  public void setStartTime(String value) {
      this.startTime = value;
  }
}
